﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ChatApp.Core.Facade;
using ChatApp.Core.Info;

namespace ChatApp.Models
{
    public class Message
    {
        public  MessageInfo AMessageInfo { get; set; }

        public IList<UserInfo> GetCountMessage(int userId)
        {
            var aMessageFacade = new MessageFacade();
            return aMessageFacade.CountMessageNoneRead(userId);
        }
    }
}